package com.tjtt.tdm.system.bean;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * TdmOutauth entity. @author MyEclipse Persistence Tools
 */

public class TdmOutauth implements java.io.Serializable {

	// Fields

	private BigDecimal id;
	private BigDecimal fromUserid;
	private BigDecimal fromRole;
	private Timestamp createDate;
	private BigDecimal toUserid;
	private Timestamp startDate;
	private Timestamp endDate;
	private String operateModuleId;
	private String operateModulename;
	private BigDecimal authState;
	private Long flowId;

	// Constructors

	/** default constructor */
	public TdmOutauth() {
	}

	/** full constructor */
	public TdmOutauth(BigDecimal fromUserid, Timestamp createDate,
			BigDecimal toUserid, Timestamp startDate, Timestamp endDate,
			String operateModuleId, String operateModulename,
			BigDecimal authState,Long flowId) {
		this.fromUserid = fromUserid;
		this.createDate = createDate;
		this.toUserid = toUserid;
		this.startDate = startDate;
		this.endDate = endDate;
		this.operateModuleId = operateModuleId;
		this.operateModulename = operateModulename;
		this.authState = authState;
		this.flowId = flowId;
	}

	// Property accessors

	public BigDecimal getId() {
		return this.id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	public BigDecimal getFromUserid() {
		return this.fromUserid;
	}

	public void setFromUserid(BigDecimal fromUserid) {
		this.fromUserid = fromUserid;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public BigDecimal getToUserid() {
		return this.toUserid;
	}

	public void setToUserid(BigDecimal toUserid) {
		this.toUserid = toUserid;
	}

	public Timestamp getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Timestamp startDate) {
		this.startDate = startDate;
	}

	public Timestamp getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Timestamp endDate) {
		this.endDate = endDate;
	}

	public String getOperateModuleId() {
		return this.operateModuleId;
	}

	public void setOperateModuleId(String operateModuleId) {
		this.operateModuleId = operateModuleId;
	}

	public String getOperateModulename() {
		return this.operateModulename;
	}

	public void setOperateModulename(String operateModulename) {
		this.operateModulename = operateModulename;
	}

	public BigDecimal getAuthState() {
		return this.authState;
	}

	public void setAuthState(BigDecimal authState) {
		this.authState = authState;
	}

	public BigDecimal getFromRole() {
		return fromRole;
	}

	public void setFromRole(BigDecimal fromRole) {
		this.fromRole = fromRole;
	}

	public Long getFlowId() {
		return flowId;
	}

	public void setFlowId(Long flowId) {
		this.flowId = flowId;
	}

}